@extends('admin._layout')

@section('breadcrumb')
    <li>
        <i class="icon-home home-icon"></i>
        <a href="#">首页</a>
    </li>
    <li class="active">轮播广告管理</li>
@stop

@section('page-header')
    <h1>
        轮播广告
        <small>
            <i class="icon-double-angle-right"></i>
            添加
        </small>
    </h1>
@stop

@section('page-content')
    <div class="col-xs-12">
        <form class="form-horizontal" action="/admin/banner/add" role="form" method="post" enctype="multipart/form-data">
            <input type="hidden" value=" " name="id">
            {{ csrf_field() }}
            <div class="form-group">
                <label class="col-sm-2 control-label" for="fileInput">广告图片</label>
                <div class="col-sm-4">
                    <input type="file" id="exampleInputFile" name="image">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label no-padding-right" for="form-field-1">跳转 url </label>
                <div class="col-sm-4 input-group">
                <span class="input-group-addon">
                    <i class="icon-envelope"></i>
                </span>
                    <input class="form-control" type="text" name="url" value="http://h5.meilimei.com/">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 广告类型(默认url 跳转) </label>
                <div class="col-sm-4 input-group">
                <span class="input-group-addon">
                    <i class="icon-envelope"></i>
                </span>
                    <input class="form-control" type="text" name="type" value="url">
                </div>
            </div>


            <div class="clearfix form-actions">
                <div class="col-md-offset-2 col-md-4">
                    <button class="btn btn-info" type="submit">
                        <i class="icon-ok bigger-110"></i>
                        提交
                    </button>

                    &nbsp; &nbsp; &nbsp;
                    <a class="btn" href="javascript:(history.back())">
                        <i class="icon-reply bigger-110"></i>
                        返回
                    </a>
                </div>
            </div>
        </form>
    </div>
    <!-- 图片容器 -->

@stop
@section('scripts')

@stop